angular.module('myapp')
    .controller('dashboardCtrl', ['$scope', '$mdSidenav', function ($scope, $mdSidenav) {


        $scope.onMenu = function () {
            $mdSidenav('left').toggle();
        }

    }]);
